package com.slmxz.tms.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.slmxz.tms.biz.model.entity.Order;
import com.slmxz.tms.biz.model.vo.OrderVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 订单Mapper接口
 *
 * @author sunyao
 *@Date 2024-10-08 16:58
 */
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 获取订单分页数据
     * @param page 分页对象
     * @return
     */
    List<OrderVO> selectOrderPage(IPage<OrderVO> page, @Param("order")OrderVO order);

}
